package com.scsj.supermarket.bean;

import java.util.List;

/**
 *
 */
public class LoginBean {


    /**
     * data : {"avatar":"https://oss.scsj.net.cn/images/users/testtest/e3e3e306-c07c-4cc8-805e-685493b5f63d.jpg?imageView2/2/w/540/h/960&e=1529067758&token=lzJVdwCFPYaBjRTG0TsKRw_Eo-YXFx93AhzeX0dY:xqMRl25PMPpp05znIMWylObWvQ8=","createTime":"2018-06-10 21:24:42","createUser":"5223b59f-6099-11e8-ac5f-a0d3c1facc88","id":"a1d6e989-6cb1-11e8-ac5f-a0d3c1facc88","isValid":1,"nickname":"猎户星座","permissionVos":[],"phone":"17610660371","phoneBind":1,"registerSource":"PC","resource":{},"roleVos":[{"createTime":"2018-06-05 11:02:24","createUser":"zh","id":"trading_staff","isInitial":1,"isValid":1,"roleExplain":"登录配送版App使用","roleName":"圈员角色","updateTime":"2018-06-27 18:40:49","updateUser":""}],"token":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxNzYxMDY2MDM3MSIsImF1ZGllbmNlIjoid2ViIiwiY3JlYXRlZCI6MTUzMDM1MTg0MDQyNSwiZXhwIjoxNTMwOTU2NjQwfQ.5KTpUU1Bra5M0wurPWv1TOrshZbpW6mjcGompYcwJwotyla8W0NJBxVgDjBxGRuw1_bN6h-WnLCIIh2uX-FJkw","truename":"王","unionId":"o_3GO02PBkqtN3jnvhARH5PfDQhY","updateTime":"2018-06-14 21:02:38","updateUser":"a1d6e989-6cb1-11e8-ac5f-a0d3c1facc88","username":"17610660371"}
     * msg : success
     * statusCode : 200
     * success : true
     */

    private DataBean data;
    private String msg;
    private int statusCode;
    private boolean success;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * avatar : https://oss.scsj.net.cn/images/users/testtest/e3e3e306-c07c-4cc8-805e-685493b5f63d.jpg?imageView2/2/w/540/h/960&e=1529067758&token=lzJVdwCFPYaBjRTG0TsKRw_Eo-YXFx93AhzeX0dY:xqMRl25PMPpp05znIMWylObWvQ8=
         * createTime : 2018-06-10 21:24:42
         * createUser : 5223b59f-6099-11e8-ac5f-a0d3c1facc88
         * id : a1d6e989-6cb1-11e8-ac5f-a0d3c1facc88
         * isValid : 1
         * nickname : 猎户星座
         * permissionVos : []
         * phone : 17610660371
         * phoneBind : 1
         * registerSource : PC
         * resource : {}
         * roleVos : [{"createTime":"2018-06-05 11:02:24","createUser":"zh","id":"trading_staff","isInitial":1,"isValid":1,"roleExplain":"登录配送版App使用","roleName":"圈员角色","updateTime":"2018-06-27 18:40:49","updateUser":""}]
         * token : eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxNzYxMDY2MDM3MSIsImF1ZGllbmNlIjoid2ViIiwiY3JlYXRlZCI6MTUzMDM1MTg0MDQyNSwiZXhwIjoxNTMwOTU2NjQwfQ.5KTpUU1Bra5M0wurPWv1TOrshZbpW6mjcGompYcwJwotyla8W0NJBxVgDjBxGRuw1_bN6h-WnLCIIh2uX-FJkw
         * truename : 王
         * unionId : o_3GO02PBkqtN3jnvhARH5PfDQhY
         * updateTime : 2018-06-14 21:02:38
         * updateUser : a1d6e989-6cb1-11e8-ac5f-a0d3c1facc88
         * username : 17610660371
         */

        private String avatar;
        private String createTime;
        private String createUser;
        private String id;
        private int isValid;
        private String nickname;
        private String phone;
        private int phoneBind;
        private String registerSource;
        private ResourceBean resource;
        private String token;
        private String truename;
        private String unionId;
        private String updateTime;
        private String updateUser;
        private String username;
        private List<?> permissionVos;
        private List<RoleVosBean> roleVos;

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getIsValid() {
            return isValid;
        }

        public void setIsValid(int isValid) {
            this.isValid = isValid;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getPhoneBind() {
            return phoneBind;
        }

        public void setPhoneBind(int phoneBind) {
            this.phoneBind = phoneBind;
        }

        public String getRegisterSource() {
            return registerSource;
        }

        public void setRegisterSource(String registerSource) {
            this.registerSource = registerSource;
        }

        public ResourceBean getResource() {
            return resource;
        }

        public void setResource(ResourceBean resource) {
            this.resource = resource;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getTruename() {
            return truename;
        }

        public void setTruename(String truename) {
            this.truename = truename;
        }

        public String getUnionId() {
            return unionId;
        }

        public void setUnionId(String unionId) {
            this.unionId = unionId;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getUpdateUser() {
            return updateUser;
        }

        public void setUpdateUser(String updateUser) {
            this.updateUser = updateUser;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public List<?> getPermissionVos() {
            return permissionVos;
        }

        public void setPermissionVos(List<?> permissionVos) {
            this.permissionVos = permissionVos;
        }

        public List<RoleVosBean> getRoleVos() {
            return roleVos;
        }

        public void setRoleVos(List<RoleVosBean> roleVos) {
            this.roleVos = roleVos;
        }

        public static class ResourceBean {
        }

        public static class RoleVosBean {
            /**
             * createTime : 2018-06-05 11:02:24
             * createUser : zh
             * id : trading_staff
             * isInitial : 1
             * isValid : 1
             * roleExplain : 登录配送版App使用
             * roleName : 圈员角色
             * updateTime : 2018-06-27 18:40:49
             * updateUser :
             */

            private String createTime;
            private String createUser;
            private String id;
            private int isInitial;
            private int isValid;
            private String roleExplain;
            private String roleName;
            private String updateTime;
            private String updateUser;

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getCreateUser() {
                return createUser;
            }

            public void setCreateUser(String createUser) {
                this.createUser = createUser;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getIsInitial() {
                return isInitial;
            }

            public void setIsInitial(int isInitial) {
                this.isInitial = isInitial;
            }

            public int getIsValid() {
                return isValid;
            }

            public void setIsValid(int isValid) {
                this.isValid = isValid;
            }

            public String getRoleExplain() {
                return roleExplain;
            }

            public void setRoleExplain(String roleExplain) {
                this.roleExplain = roleExplain;
            }

            public String getRoleName() {
                return roleName;
            }

            public void setRoleName(String roleName) {
                this.roleName = roleName;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getUpdateUser() {
                return updateUser;
            }

            public void setUpdateUser(String updateUser) {
                this.updateUser = updateUser;
            }
        }
    }
}
